<script>
import store from './store.js'
export default {
  name: "TabarItem",
  props:["content"],
  methods:{
    handleClick(){
      store.publish(this.content)
    }
  },
}
</script>

<template>
  <li @click="handleClick">{{content}}</li>
</template>
<style scoped>

</style>